<html>
<head>
    <title>a</title>
    <style>
@page {
  size: 80px 80px;
  margin: 0;
}
    </style>
</head>
<body>
<object type="image/barcode" style="width:60px;height:60px;border:1px solid red;" value="hello world">
</object>
</body>
</html>